<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:task="http://www.springframework.org/schema/task"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans
	   			https://www.springframework.org/schema/beans/spring-beans.xsd
				http://www.springframework.org/schema/task
				https://www.springframework.org/schema/task/spring-task.xsd">

	<task:annotation-driven executor="testExecutor" scheduler="testScheduler"
							exception-handler="testExceptionHandler"/>

	<task:executor id="testExecutor"/>

	<task:scheduler id="testScheduler"/>

	<bean id="testExceptionHandler"
		  class="org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler"/>

</beans>
